/*
 * @Author: mia.chen mia.chen@webpowerchina.com
 * @Date: 2024-01-17 14:52:37
 * @LastEditors: mia.chen mia.chen@webpowerchina.com
 * @LastEditTime: 2024-01-18 10:15:57
 * @FilePath: \learn-project\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { router } from './router';
// import '@/iconfont/iconfont.js';
import gloablComponent from './components/index';


const app = createApp(App);

app.use(router);
app.use(ElementPlus, {
    locale: zhCn
})
app.use(gloablComponent);

app.mount("#app");
